package com.atguigu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author zhangchunsheng
 * @CreateTime: 2025/02/07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    private Integer eid;
    private String ename;
    private Double salary;
    private Double commissionPct;
    private String birthday;
    private String gender;
    private String tel;
    private String email;
    private String address;
    private String workPlace;
    private String hiredate;
    private Integer jobId;
    private Integer mid;
    private Integer did;

    private Dept dept;

    public Employee(Integer eid, String ename, Double salary, Double commissionPct, String birthday, String gender, String tel, String email, String address, String workPlace, String hiredate, Integer jobId, Integer mid, Integer did) {
        this.eid = eid;
        this.ename = ename;
        this.salary = salary;
        this.commissionPct = commissionPct;
        this.birthday = birthday;
        this.gender = gender;
        this.tel = tel;
        this.email = email;
        this.address = address;
        this.workPlace = workPlace;
        this.hiredate = hiredate;
        this.jobId = jobId;
        this.mid = mid;
        this.did = did;
    }
}
